package com.petalsgroup.petals.service.discuss;

import com.petalsgroup.petals.pojo.DiscussDO;
import com.petalsgroup.petals.pojo.DiscussVO;

import java.util.List;

public interface DiscussService {

    List<DiscussVO> listDiscussByAid(int aid);

    List<DiscussVO> listDiscussByPreId(int preId);

    boolean insertDiscuss(DiscussDO discuss);

    boolean updateDiscuss(DiscussDO discuss);

    boolean deleteDiscuss(int did);

}
